import datetime

from sqlalchemy.orm import relationship
from db.session import Base
from sqlalchemy import Column,Integer,String,DateTime

class Food(Base):
    __tablename__ = 't_food'
    id = Column(Integer, primary_key=True,autoincrement= True)
    name=Column(String(50))
    type=Column(String(50))
    score=Column(Integer)
    info=Column(String(50))
    ctime=Column(DateTime,default=datetime.datetime.now)
